package com.torry.edss.api.controller;

import com.torry.edss.application.biz.TacticBiz;
import com.torry.edss.domain.enums.TacticMode;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/tactic")
@Api(tags = "战法接口")
public class TacticController {

    @Resource
    private TacticBiz tacticBiz;

    @ApiOperation(value = "十字星战法 - 实时选股")
    @GetMapping("realTimePicking")
    public Boolean realTimePicking() {
        return tacticBiz.realTimePicking(TacticMode.CROSS_STAR);
    }

}
